package cn.yang37.utils;

import org.bouncycastle.asn1.ASN1Integer;

public class LogUtils {

    public static void info(String msg){
        System.out.println("info msg: " + msg);
    }

    public static void info(String msg, Object obj){
        System.out.println("info msg: " + msg + " obj = " + obj);
    }

    public static void info(String msg, String hex){
        System.out.println("info msg: " + msg + " hex = " + hex);
    }

    public static void info(String msg, Object... objs){
        System.out.println("info msg: " + msg + " objs.length = " + objs.length);
    }

    public static void error(String msg, Exception err){
        System.out.println("error errMsg: " + msg + " err = " + err.getMessage());
    }
}
